3.1.68 \(\int \sinh (c+d x) (a+b \tanh ^3(c+d x))^3 \, dx\) [68]

3.1.68.1 Optimal result
3.1.68.2 Mathematica [A] (verified)
3.1.68.3 Rubi [C] (verified)
3.1.68.4 Maple [A] (verified)
3.1.68.5 Fricas [B] (verification not implemented)
3.1.68.6 Sympy [F]
3.1.68.7 Maxima [A] (verification not implemented)
3.1.68.8 Giac [A] (verification not implemented)
3.1.68.9 Mupad [B] (verification not implemented)

3.1.68.1 Optimal result

Integrand size = 21, antiderivative size = 269 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=-\frac {9 a^2 b \arctan (\sinh (c+d x))}{2 d}-\frac {315 b^3 \arctan (\sinh (c+d x))}{128 d}+\frac {a^3 \cosh (c+d x)}{d}+\frac {3 a b^2 \cosh (c+d x)}{d}+\frac {9 a b^2 \text {sech}(c+d x)}{d}-\frac {3 a b^2 \text {sech}^3(c+d x)}{d}+\frac {3 a b^2 \text {sech}^5(c+d x)}{5 d}+\frac {9 a^2 b \sinh (c+d x)}{2 d}+\frac {315 b^3 \sinh (c+d x)}{128 d}-\frac {3 a^2 b \sinh (c+d x) \tanh ^2(c+d x)}{2 d}-\frac {105 b^3 \sinh (c+d x) \tanh ^2(c+d x)}{128 d}-\frac {21 b^3 \sinh (c+d x) \tanh ^4(c+d x)}{64 d}-\frac {3 b^3 \sinh (c+d x) \tanh ^6(c+d x)}{16 d}-\frac {b^3 \sinh (c+d x) \tanh ^8(c+d x)}{8 d} \]

output
-9/2*a^2*b*arctan(sinh(d*x+c))/d-315/128*b^3*arctan(sinh(d*x+c))/d+a^3*cos 
h(d*x+c)/d+3*a*b^2*cosh(d*x+c)/d+9*a*b^2*sech(d*x+c)/d-3*a*b^2*sech(d*x+c) 
^3/d+3/5*a*b^2*sech(d*x+c)^5/d+9/2*a^2*b*sinh(d*x+c)/d+315/128*b^3*sinh(d* 
x+c)/d-3/2*a^2*b*sinh(d*x+c)*tanh(d*x+c)^2/d-105/128*b^3*sinh(d*x+c)*tanh( 
d*x+c)^2/d-21/64*b^3*sinh(d*x+c)*tanh(d*x+c)^4/d-3/16*b^3*sinh(d*x+c)*tanh 
(d*x+c)^6/d-1/8*b^3*sinh(d*x+c)*tanh(d*x+c)^8/d
 
3.1.68.2 Mathematica [A] (verified)

Time = 7.69 (sec) , antiderivative size = 233, normalized size of antiderivative = 0.87 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=-\frac {9 \left (64 a^2 b+35 b^3\right ) \arctan \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )}{64 d}+\frac {a \left (a^2+3 b^2\right ) \cosh (c+d x)}{d}+\frac {9 a b^2 \text {sech}(c+d x)}{d}-\frac {3 a b^2 \text {sech}^3(c+d x)}{d}+\frac {3 a b^2 \text {sech}^5(c+d x)}{5 d}+\frac {b \left (3 a^2+b^2\right ) \sinh (c+d x)}{d}+\frac {\text {sech}^2(c+d x) \left (192 a^2 b \sinh (c+d x)+325 b^3 \sinh (c+d x)\right )}{128 d}-\frac {105 b^3 \text {sech}^3(c+d x) \tanh (c+d x)}{64 d}+\frac {11 b^3 \text {sech}^5(c+d x) \tanh (c+d x)}{16 d}-\frac {b^3 \text {sech}^7(c+d x) \tanh (c+d x)}{8 d} \]

input
Integrate[Sinh[c + d*x]*(a + b*Tanh[c + d*x]^3)^3,x]
 
output
(-9*(64*a^2*b + 35*b^3)*ArcTan[Tanh[(c + d*x)/2]])/(64*d) + (a*(a^2 + 3*b^ 
2)*Cosh[c + d*x])/d + (9*a*b^2*Sech[c + d*x])/d - (3*a*b^2*Sech[c + d*x]^3 
)/d + (3*a*b^2*Sech[c + d*x]^5)/(5*d) + (b*(3*a^2 + b^2)*Sinh[c + d*x])/d 
+ (Sech[c + d*x]^2*(192*a^2*b*Sinh[c + d*x] + 325*b^3*Sinh[c + d*x]))/(128 
*d) - (105*b^3*Sech[c + d*x]^3*Tanh[c + d*x])/(64*d) + (11*b^3*Sech[c + d* 
x]^5*Tanh[c + d*x])/(16*d) - (b^3*Sech[c + d*x]^7*Tanh[c + d*x])/(8*d)
 
3.1.68.3 Rubi [C] (verified)

Result contains complex when optimal does not.

Time = 0.54 (sec) , antiderivative size = 302, normalized size of antiderivative = 1.12, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {3042, 26, 4149, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int -i \sin (i c+i d x) \left (a+i b \tan (i c+i d x)^3\right )^3dx\)

\(\Big \downarrow \) 26

\(\displaystyle -i \int \sin (i c+i d x) \left (i b \tan (i c+i d x)^3+a\right )^3dx\)

\(\Big \downarrow \) 4149

\(\displaystyle -i \int \left (i b^3 \sinh (c+d x) \tanh ^9(c+d x)+3 i a b^2 \sinh (c+d x) \tanh ^6(c+d x)+3 i a^2 b \sinh (c+d x) \tanh ^3(c+d x)+i a^3 \sinh (c+d x)\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle -i \left (\frac {i a^3 \cosh (c+d x)}{d}-\frac {9 i a^2 b \arctan (\sinh (c+d x))}{2 d}+\frac {9 i a^2 b \sinh (c+d x)}{2 d}-\frac {3 i a^2 b \sinh (c+d x) \tanh ^2(c+d x)}{2 d}+\frac {3 i a b^2 \cosh (c+d x)}{d}+\frac {3 i a b^2 \text {sech}^5(c+d x)}{5 d}-\frac {3 i a b^2 \text {sech}^3(c+d x)}{d}+\frac {9 i a b^2 \text {sech}(c+d x)}{d}-\frac {315 i b^3 \arctan (\sinh (c+d x))}{128 d}+\frac {315 i b^3 \sinh (c+d x)}{128 d}-\frac {i b^3 \sinh (c+d x) \tanh ^8(c+d x)}{8 d}-\frac {3 i b^3 \sinh (c+d x) \tanh ^6(c+d x)}{16 d}-\frac {21 i b^3 \sinh (c+d x) \tanh ^4(c+d x)}{64 d}-\frac {105 i b^3 \sinh (c+d x) \tanh ^2(c+d x)}{128 d}\right )\)

input
Int[Sinh[c + d*x]*(a + b*Tanh[c + d*x]^3)^3,x]
 
output
(-I)*((((-9*I)/2)*a^2*b*ArcTan[Sinh[c + d*x]])/d - (((315*I)/128)*b^3*ArcT 
an[Sinh[c + d*x]])/d + (I*a^3*Cosh[c + d*x])/d + ((3*I)*a*b^2*Cosh[c + d*x 
])/d + ((9*I)*a*b^2*Sech[c + d*x])/d - ((3*I)*a*b^2*Sech[c + d*x]^3)/d + ( 
((3*I)/5)*a*b^2*Sech[c + d*x]^5)/d + (((9*I)/2)*a^2*b*Sinh[c + d*x])/d + ( 
((315*I)/128)*b^3*Sinh[c + d*x])/d - (((3*I)/2)*a^2*b*Sinh[c + d*x]*Tanh[c 
 + d*x]^2)/d - (((105*I)/128)*b^3*Sinh[c + d*x]*Tanh[c + d*x]^2)/d - (((21 
*I)/64)*b^3*Sinh[c + d*x]*Tanh[c + d*x]^4)/d - (((3*I)/16)*b^3*Sinh[c + d* 
x]*Tanh[c + d*x]^6)/d - ((I/8)*b^3*Sinh[c + d*x]*Tanh[c + d*x]^8)/d)
 

3.1.68.3.1 Defintions of rubi rules used

rule 26
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a])   I 
nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
 

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 4149
Int[((d_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*((c_.)*tan[(e_.) + 
(f_.)*(x_)])^(n_))^(p_.), x_Symbol] :> Int[ExpandTrig[(d*sin[e + f*x])^m*(a 
 + b*(c*tan[e + f*x])^n)^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && 
 IGtQ[p, 0]
 
3.1.68.4 Maple [A] (verified)

Time = 5.72 (sec) , antiderivative size = 297, normalized size of antiderivative = 1.10

method result size
derivativedivides \(\frac {a^{3} \cosh \left (d x +c \right )+3 a^{2} b \left (\frac {\sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{2}}+\frac {3 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{2}}-\frac {3 \,\operatorname {sech}\left (d x +c \right ) \tanh \left (d x +c \right )}{2}-3 \arctan \left ({\mathrm e}^{d x +c}\right )\right )+3 a \,b^{2} \left (\frac {\sinh \left (d x +c \right )^{6}}{\cosh \left (d x +c \right )^{5}}+\frac {6 \sinh \left (d x +c \right )^{4}}{\cosh \left (d x +c \right )^{5}}+\frac {8 \sinh \left (d x +c \right )^{2}}{\cosh \left (d x +c \right )^{5}}+\frac {16}{5 \cosh \left (d x +c \right )^{5}}\right )+b^{3} \left (\frac {\sinh \left (d x +c \right )^{9}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )^{7}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{5}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{8}}-9 \left (\frac {\operatorname {sech}\left (d x +c \right )^{7}}{8}+\frac {7 \operatorname {sech}\left (d x +c \right )^{5}}{48}+\frac {35 \operatorname {sech}\left (d x +c \right )^{3}}{192}+\frac {35 \,\operatorname {sech}\left (d x +c \right )}{128}\right ) \tanh \left (d x +c \right )-\frac {315 \arctan \left ({\mathrm e}^{d x +c}\right )}{64}\right )}{d}\) \(297\)
default \(\frac {a^{3} \cosh \left (d x +c \right )+3 a^{2} b \left (\frac {\sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{2}}+\frac {3 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{2}}-\frac {3 \,\operatorname {sech}\left (d x +c \right ) \tanh \left (d x +c \right )}{2}-3 \arctan \left ({\mathrm e}^{d x +c}\right )\right )+3 a \,b^{2} \left (\frac {\sinh \left (d x +c \right )^{6}}{\cosh \left (d x +c \right )^{5}}+\frac {6 \sinh \left (d x +c \right )^{4}}{\cosh \left (d x +c \right )^{5}}+\frac {8 \sinh \left (d x +c \right )^{2}}{\cosh \left (d x +c \right )^{5}}+\frac {16}{5 \cosh \left (d x +c \right )^{5}}\right )+b^{3} \left (\frac {\sinh \left (d x +c \right )^{9}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )^{7}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{5}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{8}}-9 \left (\frac {\operatorname {sech}\left (d x +c \right )^{7}}{8}+\frac {7 \operatorname {sech}\left (d x +c \right )^{5}}{48}+\frac {35 \operatorname {sech}\left (d x +c \right )^{3}}{192}+\frac {35 \,\operatorname {sech}\left (d x +c \right )}{128}\right ) \tanh \left (d x +c \right )-\frac {315 \arctan \left ({\mathrm e}^{d x +c}\right )}{64}\right )}{d}\) \(297\)
risch \(\frac {{\mathrm e}^{d x +c} a^{3}}{2 d}+\frac {3 \,{\mathrm e}^{d x +c} a^{2} b}{2 d}+\frac {3 \,{\mathrm e}^{d x +c} a \,b^{2}}{2 d}+\frac {b^{3} {\mathrm e}^{d x +c}}{2 d}+\frac {{\mathrm e}^{-d x -c} a^{3}}{2 d}-\frac {3 \,{\mathrm e}^{-d x -c} a^{2} b}{2 d}+\frac {3 \,{\mathrm e}^{-d x -c} a \,b^{2}}{2 d}-\frac {{\mathrm e}^{-d x -c} b^{3}}{2 d}+\frac {b \,{\mathrm e}^{d x +c} \left (960 a^{2} {\mathrm e}^{14 d x +14 c}+5760 a b \,{\mathrm e}^{14 d x +14 c}+1625 b^{2} {\mathrm e}^{14 d x +14 c}+4800 a^{2} {\mathrm e}^{12 d x +12 c}+32640 a b \,{\mathrm e}^{12 d x +12 c}+3925 b^{2} {\mathrm e}^{12 d x +12 c}+8640 a^{2} {\mathrm e}^{10 d x +10 c}+88704 a b \,{\mathrm e}^{10 d x +10 c}+9065 b^{2} {\mathrm e}^{10 d x +10 c}+4800 a^{2} {\mathrm e}^{8 d x +8 c}+143232 a b \,{\mathrm e}^{8 d x +8 c}+1645 b^{2} {\mathrm e}^{8 d x +8 c}-4800 a^{2} {\mathrm e}^{6 d x +6 c}+143232 a b \,{\mathrm e}^{6 d x +6 c}-1645 b^{2} {\mathrm e}^{6 d x +6 c}-8640 a^{2} {\mathrm e}^{4 d x +4 c}+88704 a b \,{\mathrm e}^{4 d x +4 c}-9065 \,{\mathrm e}^{4 d x +4 c} b^{2}-4800 a^{2} {\mathrm e}^{2 d x +2 c}+32640 a b \,{\mathrm e}^{2 d x +2 c}-3925 \,{\mathrm e}^{2 d x +2 c} b^{2}-960 a^{2}+5760 a b -1625 b^{2}\right )}{320 d \left ({\mathrm e}^{2 d x +2 c}+1\right )^{8}}+\frac {9 i b \ln \left ({\mathrm e}^{d x +c}-i\right ) a^{2}}{2 d}+\frac {315 i b^{3} \ln \left ({\mathrm e}^{d x +c}-i\right )}{128 d}-\frac {9 i b \ln \left ({\mathrm e}^{d x +c}+i\right ) a^{2}}{2 d}-\frac {315 i b^{3} \ln \left ({\mathrm e}^{d x +c}+i\right )}{128 d}\) \(509\)

input
int(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x,method=_RETURNVERBOSE)
 
output
1/d*(a^3*cosh(d*x+c)+3*a^2*b*(sinh(d*x+c)^3/cosh(d*x+c)^2+3*sinh(d*x+c)/co 
sh(d*x+c)^2-3/2*sech(d*x+c)*tanh(d*x+c)-3*arctan(exp(d*x+c)))+3*a*b^2*(sin 
h(d*x+c)^6/cosh(d*x+c)^5+6*sinh(d*x+c)^4/cosh(d*x+c)^5+8*sinh(d*x+c)^2/cos 
h(d*x+c)^5+16/5/cosh(d*x+c)^5)+b^3*(sinh(d*x+c)^9/cosh(d*x+c)^8+9*sinh(d*x 
+c)^7/cosh(d*x+c)^8+21*sinh(d*x+c)^5/cosh(d*x+c)^8+21*sinh(d*x+c)^3/cosh(d 
*x+c)^8+9*sinh(d*x+c)/cosh(d*x+c)^8-9*(1/8*sech(d*x+c)^7+7/48*sech(d*x+c)^ 
5+35/192*sech(d*x+c)^3+35/128*sech(d*x+c))*tanh(d*x+c)-315/64*arctan(exp(d 
*x+c))))
 
3.1.68.5 Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 6410 vs. \(2 (249) = 498\).

Time = 0.32 (sec) , antiderivative size = 6410, normalized size of antiderivative = 23.83 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\text {Too large to display} \]

input
integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x, algorithm="fricas")
 
output
Too large to include
 
3.1.68.6 Sympy [F]

\[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\int \left (a + b \tanh ^{3}{\left (c + d x \right )}\right )^{3} \sinh {\left (c + d x \right )}\, dx \]

input
integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)**3)**3,x)
 
output
Integral((a + b*tanh(c + d*x)**3)**3*sinh(c + d*x), x)
 
3.1.68.7 Maxima [A] (verification not implemented)

Time = 0.30 (sec) , antiderivative size = 484, normalized size of antiderivative = 1.80 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\frac {1}{64} \, b^{3} {\left (\frac {315 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac {32 \, e^{\left (-d x - c\right )}}{d} + \frac {581 \, e^{\left (-2 \, d x - 2 \, c\right )} + 1681 \, e^{\left (-4 \, d x - 4 \, c\right )} + 3605 \, e^{\left (-6 \, d x - 6 \, c\right )} + 2569 \, e^{\left (-8 \, d x - 8 \, c\right )} + 1463 \, e^{\left (-10 \, d x - 10 \, c\right )} - 917 \, e^{\left (-12 \, d x - 12 \, c\right )} - 529 \, e^{\left (-14 \, d x - 14 \, c\right )} - 293 \, e^{\left (-16 \, d x - 16 \, c\right )} + 32}{d {\left (e^{\left (-d x - c\right )} + 8 \, e^{\left (-3 \, d x - 3 \, c\right )} + 28 \, e^{\left (-5 \, d x - 5 \, c\right )} + 56 \, e^{\left (-7 \, d x - 7 \, c\right )} + 70 \, e^{\left (-9 \, d x - 9 \, c\right )} + 56 \, e^{\left (-11 \, d x - 11 \, c\right )} + 28 \, e^{\left (-13 \, d x - 13 \, c\right )} + 8 \, e^{\left (-15 \, d x - 15 \, c\right )} + e^{\left (-17 \, d x - 17 \, c\right )}\right )}}\right )} + \frac {3}{2} \, a^{2} b {\left (\frac {6 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac {e^{\left (-d x - c\right )}}{d} + \frac {4 \, e^{\left (-2 \, d x - 2 \, c\right )} - e^{\left (-4 \, d x - 4 \, c\right )} + 1}{d {\left (e^{\left (-d x - c\right )} + 2 \, e^{\left (-3 \, d x - 3 \, c\right )} + e^{\left (-5 \, d x - 5 \, c\right )}\right )}}\right )} + \frac {3}{10} \, a b^{2} {\left (\frac {5 \, e^{\left (-d x - c\right )}}{d} + \frac {85 \, e^{\left (-2 \, d x - 2 \, c\right )} + 210 \, e^{\left (-4 \, d x - 4 \, c\right )} + 314 \, e^{\left (-6 \, d x - 6 \, c\right )} + 185 \, e^{\left (-8 \, d x - 8 \, c\right )} + 65 \, e^{\left (-10 \, d x - 10 \, c\right )} + 5}{d {\left (e^{\left (-d x - c\right )} + 5 \, e^{\left (-3 \, d x - 3 \, c\right )} + 10 \, e^{\left (-5 \, d x - 5 \, c\right )} + 10 \, e^{\left (-7 \, d x - 7 \, c\right )} + 5 \, e^{\left (-9 \, d x - 9 \, c\right )} + e^{\left (-11 \, d x - 11 \, c\right )}\right )}}\right )} + \frac {a^{3} \cosh \left (d x + c\right )}{d} \]

input
integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x, algorithm="maxima")
 
output
1/64*b^3*(315*arctan(e^(-d*x - c))/d - 32*e^(-d*x - c)/d + (581*e^(-2*d*x 
- 2*c) + 1681*e^(-4*d*x - 4*c) + 3605*e^(-6*d*x - 6*c) + 2569*e^(-8*d*x - 
8*c) + 1463*e^(-10*d*x - 10*c) - 917*e^(-12*d*x - 12*c) - 529*e^(-14*d*x - 
 14*c) - 293*e^(-16*d*x - 16*c) + 32)/(d*(e^(-d*x - c) + 8*e^(-3*d*x - 3*c 
) + 28*e^(-5*d*x - 5*c) + 56*e^(-7*d*x - 7*c) + 70*e^(-9*d*x - 9*c) + 56*e 
^(-11*d*x - 11*c) + 28*e^(-13*d*x - 13*c) + 8*e^(-15*d*x - 15*c) + e^(-17* 
d*x - 17*c)))) + 3/2*a^2*b*(6*arctan(e^(-d*x - c))/d - e^(-d*x - c)/d + (4 
*e^(-2*d*x - 2*c) - e^(-4*d*x - 4*c) + 1)/(d*(e^(-d*x - c) + 2*e^(-3*d*x - 
 3*c) + e^(-5*d*x - 5*c)))) + 3/10*a*b^2*(5*e^(-d*x - c)/d + (85*e^(-2*d*x 
 - 2*c) + 210*e^(-4*d*x - 4*c) + 314*e^(-6*d*x - 6*c) + 185*e^(-8*d*x - 8* 
c) + 65*e^(-10*d*x - 10*c) + 5)/(d*(e^(-d*x - c) + 5*e^(-3*d*x - 3*c) + 10 
*e^(-5*d*x - 5*c) + 10*e^(-7*d*x - 7*c) + 5*e^(-9*d*x - 9*c) + e^(-11*d*x 
- 11*c)))) + a^3*cosh(d*x + c)/d
 
3.1.68.8 Giac [A] (verification not implemented)

Time = 0.59 (sec) , antiderivative size = 463, normalized size of antiderivative = 1.72 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\frac {160 \, a^{3} e^{\left (d x + c\right )} + 480 \, a^{2} b e^{\left (d x + c\right )} + 480 \, a b^{2} e^{\left (d x + c\right )} + 160 \, b^{3} e^{\left (d x + c\right )} - 45 \, {\left (64 \, a^{2} b + 35 \, b^{3}\right )} \arctan \left (e^{\left (d x + c\right )}\right ) + 160 \, {\left (a^{3} - 3 \, a^{2} b + 3 \, a b^{2} - b^{3}\right )} e^{\left (-d x - c\right )} + \frac {960 \, a^{2} b e^{\left (15 \, d x + 15 \, c\right )} + 5760 \, a b^{2} e^{\left (15 \, d x + 15 \, c\right )} + 1625 \, b^{3} e^{\left (15 \, d x + 15 \, c\right )} + 4800 \, a^{2} b e^{\left (13 \, d x + 13 \, c\right )} + 32640 \, a b^{2} e^{\left (13 \, d x + 13 \, c\right )} + 3925 \, b^{3} e^{\left (13 \, d x + 13 \, c\right )} + 8640 \, a^{2} b e^{\left (11 \, d x + 11 \, c\right )} + 88704 \, a b^{2} e^{\left (11 \, d x + 11 \, c\right )} + 9065 \, b^{3} e^{\left (11 \, d x + 11 \, c\right )} + 4800 \, a^{2} b e^{\left (9 \, d x + 9 \, c\right )} + 143232 \, a b^{2} e^{\left (9 \, d x + 9 \, c\right )} + 1645 \, b^{3} e^{\left (9 \, d x + 9 \, c\right )} - 4800 \, a^{2} b e^{\left (7 \, d x + 7 \, c\right )} + 143232 \, a b^{2} e^{\left (7 \, d x + 7 \, c\right )} - 1645 \, b^{3} e^{\left (7 \, d x + 7 \, c\right )} - 8640 \, a^{2} b e^{\left (5 \, d x + 5 \, c\right )} + 88704 \, a b^{2} e^{\left (5 \, d x + 5 \, c\right )} - 9065 \, b^{3} e^{\left (5 \, d x + 5 \, c\right )} - 4800 \, a^{2} b e^{\left (3 \, d x + 3 \, c\right )} + 32640 \, a b^{2} e^{\left (3 \, d x + 3 \, c\right )} - 3925 \, b^{3} e^{\left (3 \, d x + 3 \, c\right )} - 960 \, a^{2} b e^{\left (d x + c\right )} + 5760 \, a b^{2} e^{\left (d x + c\right )} - 1625 \, b^{3} e^{\left (d x + c\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )}^{8}}}{320 \, d} \]

input
integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x, algorithm="giac")
 
output
1/320*(160*a^3*e^(d*x + c) + 480*a^2*b*e^(d*x + c) + 480*a*b^2*e^(d*x + c) 
 + 160*b^3*e^(d*x + c) - 45*(64*a^2*b + 35*b^3)*arctan(e^(d*x + c)) + 160* 
(a^3 - 3*a^2*b + 3*a*b^2 - b^3)*e^(-d*x - c) + (960*a^2*b*e^(15*d*x + 15*c 
) + 5760*a*b^2*e^(15*d*x + 15*c) + 1625*b^3*e^(15*d*x + 15*c) + 4800*a^2*b 
*e^(13*d*x + 13*c) + 32640*a*b^2*e^(13*d*x + 13*c) + 3925*b^3*e^(13*d*x + 
13*c) + 8640*a^2*b*e^(11*d*x + 11*c) + 88704*a*b^2*e^(11*d*x + 11*c) + 906 
5*b^3*e^(11*d*x + 11*c) + 4800*a^2*b*e^(9*d*x + 9*c) + 143232*a*b^2*e^(9*d 
*x + 9*c) + 1645*b^3*e^(9*d*x + 9*c) - 4800*a^2*b*e^(7*d*x + 7*c) + 143232 
*a*b^2*e^(7*d*x + 7*c) - 1645*b^3*e^(7*d*x + 7*c) - 8640*a^2*b*e^(5*d*x + 
5*c) + 88704*a*b^2*e^(5*d*x + 5*c) - 9065*b^3*e^(5*d*x + 5*c) - 4800*a^2*b 
*e^(3*d*x + 3*c) + 32640*a*b^2*e^(3*d*x + 3*c) - 3925*b^3*e^(3*d*x + 3*c) 
- 960*a^2*b*e^(d*x + c) + 5760*a*b^2*e^(d*x + c) - 1625*b^3*e^(d*x + c))/( 
e^(2*d*x + 2*c) + 1)^8)/d
 
3.1.68.9 Mupad [B] (verification not implemented)

Time = 2.21 (sec) , antiderivative size = 707, normalized size of antiderivative = 2.63 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\frac {{\mathrm {e}}^{c+d\,x}\,{\left (a+b\right )}^3}{2\,d}+\frac {{\mathrm {e}}^{-c-d\,x}\,{\left (a-b\right )}^3}{2\,d}-\frac {9\,\mathrm {atan}\left (\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\,\left (35\,b^3\,\sqrt {d^2}+64\,a^2\,b\,\sqrt {d^2}\right )}{d\,\sqrt {4096\,a^4\,b^2+4480\,a^2\,b^4+1225\,b^6}}\right )\,\sqrt {4096\,a^4\,b^2+4480\,a^2\,b^4+1225\,b^6}}{64\,\sqrt {d^2}}+\frac {{\mathrm {e}}^{c+d\,x}\,\left (2455\,b^3+1728\,a\,b^2\right )}{40\,d\,\left (3\,{\mathrm {e}}^{2\,c+2\,d\,x}+3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}+1\right )}-\frac {{\mathrm {e}}^{c+d\,x}\,\left (2605\,b^3+768\,a\,b^2\right )}{20\,d\,\left (4\,{\mathrm {e}}^{2\,c+2\,d\,x}+6\,{\mathrm {e}}^{4\,c+4\,d\,x}+4\,{\mathrm {e}}^{6\,c+6\,d\,x}+{\mathrm {e}}^{8\,c+8\,d\,x}+1\right )}-\frac {188\,b^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left (6\,{\mathrm {e}}^{2\,c+2\,d\,x}+15\,{\mathrm {e}}^{4\,c+4\,d\,x}+20\,{\mathrm {e}}^{6\,c+6\,d\,x}+15\,{\mathrm {e}}^{8\,c+8\,d\,x}+6\,{\mathrm {e}}^{10\,c+10\,d\,x}+{\mathrm {e}}^{12\,c+12\,d\,x}+1\right )}+\frac {{\mathrm {e}}^{c+d\,x}\,\left (192\,a^2\,b+1152\,a\,b^2+325\,b^3\right )}{64\,d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}+1\right )}+\frac {2\,{\mathrm {e}}^{c+d\,x}\,\left (475\,b^3+48\,a\,b^2\right )}{5\,d\,\left (5\,{\mathrm {e}}^{2\,c+2\,d\,x}+10\,{\mathrm {e}}^{4\,c+4\,d\,x}+10\,{\mathrm {e}}^{6\,c+6\,d\,x}+5\,{\mathrm {e}}^{8\,c+8\,d\,x}+{\mathrm {e}}^{10\,c+10\,d\,x}+1\right )}+\frac {112\,b^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left (7\,{\mathrm {e}}^{2\,c+2\,d\,x}+21\,{\mathrm {e}}^{4\,c+4\,d\,x}+35\,{\mathrm {e}}^{6\,c+6\,d\,x}+35\,{\mathrm {e}}^{8\,c+8\,d\,x}+21\,{\mathrm {e}}^{10\,c+10\,d\,x}+7\,{\mathrm {e}}^{12\,c+12\,d\,x}+{\mathrm {e}}^{14\,c+14\,d\,x}+1\right )}-\frac {{\mathrm {e}}^{c+d\,x}\,\left (192\,a^2\,b+768\,a\,b^2+745\,b^3\right )}{32\,d\,\left (2\,{\mathrm {e}}^{2\,c+2\,d\,x}+{\mathrm {e}}^{4\,c+4\,d\,x}+1\right )}-\frac {32\,b^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left (8\,{\mathrm {e}}^{2\,c+2\,d\,x}+28\,{\mathrm {e}}^{4\,c+4\,d\,x}+56\,{\mathrm {e}}^{6\,c+6\,d\,x}+70\,{\mathrm {e}}^{8\,c+8\,d\,x}+56\,{\mathrm {e}}^{10\,c+10\,d\,x}+28\,{\mathrm {e}}^{12\,c+12\,d\,x}+8\,{\mathrm {e}}^{14\,c+14\,d\,x}+{\mathrm {e}}^{16\,c+16\,d\,x}+1\right )} \]

input
int(sinh(c + d*x)*(a + b*tanh(c + d*x)^3)^3,x)
 
output
(exp(c + d*x)*(a + b)^3)/(2*d) + (exp(- c - d*x)*(a - b)^3)/(2*d) - (9*ata 
n((exp(d*x)*exp(c)*(35*b^3*(d^2)^(1/2) + 64*a^2*b*(d^2)^(1/2)))/(d*(1225*b 
^6 + 4480*a^2*b^4 + 4096*a^4*b^2)^(1/2)))*(1225*b^6 + 4480*a^2*b^4 + 4096* 
a^4*b^2)^(1/2))/(64*(d^2)^(1/2)) + (exp(c + d*x)*(1728*a*b^2 + 2455*b^3))/ 
(40*d*(3*exp(2*c + 2*d*x) + 3*exp(4*c + 4*d*x) + exp(6*c + 6*d*x) + 1)) - 
(exp(c + d*x)*(768*a*b^2 + 2605*b^3))/(20*d*(4*exp(2*c + 2*d*x) + 6*exp(4* 
c + 4*d*x) + 4*exp(6*c + 6*d*x) + exp(8*c + 8*d*x) + 1)) - (188*b^3*exp(c 
+ d*x))/(d*(6*exp(2*c + 2*d*x) + 15*exp(4*c + 4*d*x) + 20*exp(6*c + 6*d*x) 
 + 15*exp(8*c + 8*d*x) + 6*exp(10*c + 10*d*x) + exp(12*c + 12*d*x) + 1)) + 
 (exp(c + d*x)*(1152*a*b^2 + 192*a^2*b + 325*b^3))/(64*d*(exp(2*c + 2*d*x) 
 + 1)) + (2*exp(c + d*x)*(48*a*b^2 + 475*b^3))/(5*d*(5*exp(2*c + 2*d*x) + 
10*exp(4*c + 4*d*x) + 10*exp(6*c + 6*d*x) + 5*exp(8*c + 8*d*x) + exp(10*c 
+ 10*d*x) + 1)) + (112*b^3*exp(c + d*x))/(d*(7*exp(2*c + 2*d*x) + 21*exp(4 
*c + 4*d*x) + 35*exp(6*c + 6*d*x) + 35*exp(8*c + 8*d*x) + 21*exp(10*c + 10 
*d*x) + 7*exp(12*c + 12*d*x) + exp(14*c + 14*d*x) + 1)) - (exp(c + d*x)*(7 
68*a*b^2 + 192*a^2*b + 745*b^3))/(32*d*(2*exp(2*c + 2*d*x) + exp(4*c + 4*d 
*x) + 1)) - (32*b^3*exp(c + d*x))/(d*(8*exp(2*c + 2*d*x) + 28*exp(4*c + 4* 
d*x) + 56*exp(6*c + 6*d*x) + 70*exp(8*c + 8*d*x) + 56*exp(10*c + 10*d*x) + 
 28*exp(12*c + 12*d*x) + 8*exp(14*c + 14*d*x) + exp(16*c + 16*d*x) + 1))